<?php

class UserController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
    }

    public function chooseAction()
    {
        include_once dirname(__FILE__).'./../models/UserModel.php';
        $userModel = new UserModel();
        $users = $userModel->GetUser();
        $numUsers = $userModel->GetNumUser();
        
        $this->view->users = $users;
        $this->view->numUsers = $numUsers;
    }


}



